package com.jxtc.enterprise.employee.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * 用户登录微信小程序后，首页看到的用户基本信息（用户名，余额），公司信息（顶部，中部，底部通知轮播图片）
 */
@Getter
@Setter
@ToString
public class WxUserIndexPageInfoVo {

    @Schema(
            description = "用户名",
            example = "大鹏666",
            requiredMode = Schema.RequiredMode.REQUIRED
    )
    private String userName;

    /**
     * 用户账户余额，单位为 元，比如 45.82 元
     */
    private Float balance;

    /**
     * 员工所属公司id
     */
    private String companyId;

    /**
     * 员工所属公司名称
     */
    private String companyName;

    /**
     * 员工所属部门id
     */
    private String departId;

    /**
     * 员工所属部门名称
     */
    private String departName;

    @Schema(
            description = "小程序首页 顶部图片url链接",
            example = "https://oss.yun.huawei.com/images/head.png",
            requiredMode = Schema.RequiredMode.REQUIRED
    )
    private String headImageUrl;

    @Schema(
            description = "小程序首页 中间图片url链接",
            example = "https://oss.yun.huawei.com/images/middle.png",
            requiredMode = Schema.RequiredMode.REQUIRED
    )
    private String middleImageUrl;

    @Schema(
            description = "小程序首页底部轮播图图片url链接",
            example = "[https://oss.yun.huawei.com/images/note1.png, https://oss.yun.huawei.com/images/note2.png]",
            requiredMode = Schema.RequiredMode.REQUIRED
    )
    private List<String> noteImagesUrl;

    /**
     * 是否显示客户餐
     */
    private Boolean showVipUserFoodBtn = false;
}
